#ifndef DRV_BC26_H
#define DRV_BC26_H

#include <stdint.h>
#include "at_lexer.h"
#include "drv_net.h"

extern const DRV_NET_INTERFACE drv_bc26_interface;

extern void drv_bc26_recv_excute(MSG_RECV *pmsg_recv);

#define CM_FLAG_LIFETIME       0x00000001u
#define CM_FLAG_REG_CODE       0x00000002u
#define CM_FLAG_WITH_QUOTATION 0x00000004u


extern NET_ERR_CODE drv_net_cm_connect(char *pstr_ip, char *pstr_port, uint32_t fifo_size, uint32_t flags);
extern NET_ERR_CODE drv_net_cm_send(uint8_t *pdata, uint32_t len, uint32_t flags);
extern NET_ERR_CODE drv_net_cm_disconnect(void);

#endif
